﻿<!--

    This file is a part of BinaryDialog.
 
    BiLog IM aka BinaryDialog - WPF Client for XMPP Protocol
    Copyright (C) 2008  Christophe LEMOINE

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see<http://www.gnu.org/licenses/> .

 -->

<Window x:Class="BinaryDialog.Windows.AccountWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="{StaticResource AccountWindowTitle}" Height="377" Width="457" Icon="/BiLog;component/Icons/logo.ico" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Background="AliceBlue" SizeToContent="Manual">
    
    <Grid>

        <Border Margin="0,1,0,-1" Name="border1" HorizontalAlignment="Left" Width="153">
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                
                <Image Margin="11,8,12,0" Height="128" Name="VistaCadre" Stretch="Fill" Source="/BiLog;component/Icons/vista_cadre.png" VerticalAlignment="Top" />
                <StackPanel Name="HyperLinkEditAvatar" Margin="11,151,12,0" Orientation="Horizontal" VerticalAlignment="Top" IsEnabled="True" Height="16">
                    <Image Style="{StaticResource HyperLinkIcon}" Source="/BiLog;component/Icons/image_edit.png" Stretch="Fill" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,4,0" />
                    <TextBlock MouseLeftButtonDown="LinkEditAvatar_MouseLeftButtonDown" Name="LinkEditAvatar" Style="{StaticResource HyperLink}" Text="{StaticResource AvatarEditText}" HorizontalAlignment="Stretch" VerticalAlignment="Center" TextAlignment="Left" TextTrimming="CharacterEllipsis" Width="107" />
                </StackPanel>
                
                <StackPanel Name="HyperLinkDeleteAvatar" Margin="11,171,12,0" Orientation="Horizontal" VerticalAlignment="Top" IsEnabled="False" Height="16">
                    <Image Style="{StaticResource HyperLinkIcon}" Source="/BiLog;component/Icons/image_delete.png" Stretch="Fill" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,4,0" />
                    <TextBlock MouseLeftButtonDown="LinkDeleteAvatar_MouseLeftButtonDown" Name="LinkDeleteAvatar" Style="{StaticResource HyperLink}" Text="{StaticResource AvatarDeleteText}" HorizontalAlignment="Stretch" VerticalAlignment="Center" TextAlignment="Left" TextTrimming="CharacterEllipsis" Width="107" />
                </StackPanel>
                <Grid Height="94.021" Margin="28.223,24.883,29.058,0" Name="grid1" VerticalAlignment="Top">
                    <Image Margin="2" VerticalAlignment="Center" HorizontalAlignment="Center" Name="InfoAvatar" Stretch="Uniform" Source="/BiLog;component/Icons/user-info.png" />
                </Grid>
            </Grid>
        </Border>
        
        <TextBlock Height="21" Margin="168,19,23,0" Name="textBlock1" VerticalAlignment="Top" Text="{StaticResource StartWindowInfoServerText}" TextAlignment="Left" TextTrimming="CharacterEllipsis" />
        <TextBox TextChanged="InfoId_TextChanged" Name="InfoId" ToolTip="{StaticResource StartWindowInfoServerToolTip}" VerticalAlignment="Top" TextAlignment="Left" Height="21.96" Margin="168,40,0,0" HorizontalAlignment="Left" Width="160" />
        
        <TextBlock Text=":" VerticalAlignment="Top" TextAlignment="Center" TextTrimming="CharacterEllipsis" Height="21.96" Margin="328,40,0,0" HorizontalAlignment="Left" Width="10" />
        <TextBox TextChanged="InfoPort_TextChanged" Name="InfoPort" ToolTip="{StaticResource StartWindowInfoPortToolTip}" VerticalAlignment="Top" TextAlignment="Right" Height="21.96" Margin="338,40,23,0" />
        
        <TextBlock Height="21" Text="{StaticResource StartWindowInfoPasswordText}" VerticalAlignment="Top" TextAlignment="Left" TextTrimming="CharacterEllipsis" Margin="168,70,23,0" />
        <PasswordBox PasswordChanged="InfoPassword_PasswordChanged" Name="InfoPassword" ToolTip="{StaticResource StartWindowInfoPasswordToolTip}" VerticalAlignment="Top" Height="21.96" Margin="168,90.6,23,0" />
        
        <CheckBox IsChecked="True" Unchecked="InfoSavePassword_Unchecked" Checked="InfoSavePassword_Checked" Name="InfoSavePassword" Margin="168,120.2,23,0" Height="15.96" VerticalAlignment="Top">
            <TextBlock Text="{StaticResource InfoSavePasswordText}" HorizontalAlignment="Stretch" VerticalAlignment="Center" TextAlignment="Left" TextTrimming="CharacterEllipsis" />
        </CheckBox>
        
        <TextBlock Height="21" Margin="168,144.125,23,0" VerticalAlignment="Top" Text="{StaticResource AccountScreenNameText}" TextAlignment="Left" TextTrimming="CharacterEllipsis" />
        <TextBox Name="InfoScreenName" ToolTip="{StaticResource AccountScreenNameToolTip}" TextAlignment="Left" Margin="168,165.125,23,0" Height="22" VerticalAlignment="Top" />
        
        <CheckBox Checked="InfoSSL_Checked" Name="InfoSSL" ToolTip="{StaticResource StartWindowInfoSSLToolTip}" Height="15.96" IsChecked="False" Margin="168,208.04,23,0" VerticalAlignment="Top">
            <TextBlock HorizontalAlignment="Stretch" Text="{StaticResource StartWindowInfoSSLText}" TextAlignment="Left" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" />
        </CheckBox>
        
        <CheckBox Checked="InfoStartTLS_Checked" Name="InfoStartTLS" ToolTip="{StaticResource StartWindowInfoTLSToolTip}" Height="15.96" IsChecked="True" Margin="168,232.04,23,0" VerticalAlignment="Top">
            <TextBlock HorizontalAlignment="Stretch" Text="{StaticResource StartWindowInfoTLSText}" TextAlignment="Left" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" />
        </CheckBox>
        
        
        
        <Button IsCancel="True" Height="24" IsEnabled="True" Margin="215,0,120,12" Name="ButtonCancel" VerticalAlignment="Bottom">
            <TextBlock Text="{StaticResource AccountButtonCancel}" Name="ButtonCancelLabel" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="8,0,8,0" />
        </Button>
        
        <Button IsDefault="True" Click="ButtonSave_Click" Height="24" HorizontalAlignment="Right" IsEnabled="False" Margin="0,0,12,12" Name="ButtonSave" VerticalAlignment="Bottom" Width="100">
            <TextBlock Text="{StaticResource AccountButtonSave}" Name="ButtonSaveLabel" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="8,0,8,0" />
        </Button>
        
    </Grid>
    
</Window>
